import React, { Component } from 'react'
import classNames from 'classnames'
import PropTypes from 'prop-types'
class Select extends Component {
    render() {
        let props = this.props;
        let {className, id, children} = props;
        className = classNames({[`${id}`]: id});

        return (
            <select className={className} id={id}>
                {children}
            </select>
        )
    }
}
Select.defaultProps = {
}
Select.propTypes = {
    id: PropTypes.string,
}
export default Select